﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.ComponentModel.DataAnnotations;

namespace SCMS.Model
{
    [MetadataType(typeof(SalaryRequestMetaData))]
    public partial class SalaryRequest
    {

    }

    public class SalaryRequestMetaData
    {
        [Required]
        public object PayrollDate { get; set; }
        [Required]
        public object SalaryCurrencyId { get; set; }
        [Required]
        public object Subject { get; set; }
        [Required]
        public object Remarks { get; set; }
        [Required]
        public object PayrollYear { get; set; }
        [Required]
        public object PayrollMonth { get; set; }
        [Required]
        public object Month { get; set; }
        [Required]
        public object SubOfficeId { get; set; }
    }

    [MetadataType(typeof(SalaryBudgetLineMetaData))]
    public partial class SalaryBudgetLine
    {

    }

    public class SalaryBudgetLineMetaData
    {
        [Required]
        public object BudgetLineId { get; set; }
        [Required]
        public object Amount { get; set; }
        [Required]
        public object PayrollItemId { get; set; }
    }
}
